/**
 * 
 */
package com.pengtu.entity.app;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.pengtu.entity.IdEntity;

/**
 * @author Administrator
 * 
 */
@Entity
@Table(name="R_Q_PROJ_SUPERVISORGROUP")
public class SupervisorGroup extends IdEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private SuperviseGroup superviseGroup;
	private User officer;
	private String duty;
	private String phone;
	private String remark;

	@ManyToOne
	@JoinColumn(name="GROUPID")
	public SuperviseGroup getSuperviseGroup() {
		return superviseGroup;
	}

	public void setSuperviseGroup(SuperviseGroup superviseGroup) {
		this.superviseGroup = superviseGroup;
	}
	
	@ManyToOne
	@JoinColumn(name="OFFICER")
	public User getOfficer() {
		return officer;
	}

	public void setOfficer(User officer) {
		this.officer = officer;
	}
	
	@Column(name="DUTY")
	public String getDuty() {
		return duty;
	}

	public void setDuty(String duty) {
		this.duty = duty;
	}

	@Column(name="PHONE")
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Column(name="REMARK")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
